GBML manual / Constants

SCANLINES_NONE

No scanline look: the screen goes back to the green swap you chose with green_swap.

Works differently on Game Boy - A scanline look on the Game Boy darkens some rows by one shade, as a rolling bar or a few thin stripes; see screen_scanlines.

Game Boy Color: not available

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

SCANLINES_NONE: constant

<!-- GENERATED by tools/gbabel_looks.py from its LOOKS registry. Never edit this page: change the registry and re-run it. -->

Description

Names "no scanline look", for screen_scanlines. Giving it to screen_scanlines switches the scanline look off and hands its row-by-row slot straight back.

This is how you turn a scanline look off. There is nothing to hide or pause: off means the slot is free again. The screen then follows green_swap again, which was waiting the whole time.

Example

screen_scanlines(SCANLINES_NONE, 0, 0);

Switches the scanline look off. The last two numbers are ignored when the look is NONE.

See also: screen_scanlinesgreen_swapSCANLINES_CRT